export const bankMaterialQueryForBank = async (queryCondition: any) => {
  return await axios({
    method: 'post',
    url: '/bankMaterial/queryForBank',
    data: queryCondition
  })
}
export const bankMaterialFind = async (code: string) => {
  return await axios({
    method: 'get',
    url: '/bankMaterial/find/' + code
  })
}
export const bankMaterialInsert = async (bankMaterial: any) => {
  return await axios({
    method: 'post',
    url: '/bankMaterial/insert',
    data: bankMaterial
  })
}
export const bankMaterialModify = async (bankMaterial: any) => {
  return await axios({
    url: '/bankMaterial/modify',
    method: 'PUT',
    data: bankMaterial
  })
}
export const bankMaterialDelete = async (code: string) => {
  return await axios({
    method: 'delete',
    url: '/bankMaterial/remove/' + code
  })
}
export const bankMaterialqueryForCompany = async (queryCondition: any) => {
  return await axios({
    method: 'post',
    url: '/bankMaterial/queryForCompany',
    data: queryCondition
  })
}